package com.wrupple.muba.catalogs.client.widgets.fields.providers;

import com.google.gwt.cell.client.Cell;
import com.google.gwt.event.shared.EventBus;
import com.wrupple.muba.catalogs.client.activity.process.task.CatalogInteractionState.Mode;
import com.wrupple.muba.catalogs.client.module.services.presentation.CatalogFormFieldProvider;
import com.wrupple.muba.catalogs.client.widgets.fields.cells.ColorPickerFieldCell;
import com.wrupple.muba.common.shared.State.ProcessManager;
import com.wrupple.vegetate.domain.FieldDescriptor;

public class ColorPickerFieldProvider implements CatalogFormFieldProvider {

	@Override
	public Cell<String> createCell(EventBus bus, ProcessManager pm, FieldDescriptor d, Mode mode)  {
		return new ColorPickerFieldCell(bus, pm, d,mode);
	}

}
